import request from '/@/utils/request'
import {prefix} from '/@/api/oa'

export function getTreeList() {
    return request({
        url: prefix + '/dept/getTreeList',
        method: 'get'
    })
}

export function getUserDept(params: object) {
    return request({
        url: prefix + '/dept/getUserDept',
        method: 'get',
        params
    })
}
